import os
import sys

WORKING_PATH = os.path.abspath(sys.argv[0])
WORKING_PATH = os.path.dirname(WORKING_PATH) + os.sep

if os.name == 'posix':
    HOME_PATH = os.path.expanduser('~')
    CONFIG_PATH = os.path.join(HOME_PATH,'.config')
if os.name == 'nt':
    CONFIG_PATH = os.environ['APPDATA']

ADSENSE_PATH = os.path.join(CONFIG_PATH,'adsense-monitor')
PROFILE_PATH = os.path.join(ADSENSE_PATH, 'profile')
DATA_PATH = os.path.join(WORKING_PATH, 'data')
